﻿<%@ Page Language="C#" MasterPageFile="~/Admin/PMAdmin.Master" AutoEventWireup="true"
    CodeBehind="SecurityForm.aspx.cs" Inherits="PM.Site.Admin.SecurityForm" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div style="float:none;text-align:center; width:500px;">
        <asp:Panel ID="pnlAddBankDeposit" runat="server" GroupingText="Add Bank Deposit"
            Font-Size="Medium">
            <table>
                <tr>
                    <td style="text-align:right;">
                    </td>
                    <td style="text-align: left;">
                        <asp:ValidationSummary ID="ValidationSummary1" runat="server" ValidationGroup="g1" />
                    </td>
                </tr>
                <tr>
                    <td style="text-align:right;"> 
                        *Security Id:
                    </td>
                    <td>
                        <asp:TextBox ID="txbSecurityId" runat="server" TextMode="SingleLine"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="valSecurityId" runat="server" ErrorMessage="Please enter the Security Id."
                            ControlToValidate="txbSecurityId" Display="Dynamic" SetFocusOnError="True" ValidationGroup="g1">*</asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td style="text-align:right;">
                        *Name:
                    </td>
                    <td>
                        <asp:TextBox ID="txbName" runat="server" TextMode="SingleLine"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="valName" runat="server" ErrorMessage="Please enter the Name."
                            ControlToValidate="txbName" Display="Dynamic" SetFocusOnError="True" ValidationGroup="g1">*</asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td style="text-align:right;">
                        Market Value:
                    </td>
                    <td>
                        <asp:TextBox ID="txbMktValue" runat="server" TextMode="SingleLine"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td style="text-align:right;">
                        Margin Percentage:
                    </td>
                    <td>
                        <asp:TextBox ID="txbMarginPercentage" runat="server" TextMode="SingleLine"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td style="text-align:right;">
                        Last Mod. Date:
                    </td>
                    <td>
                        <asp:TextBox ID="txbLastModDate" runat="server" TextMode="SingleLine" ReadOnly="true"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" align="center">
                        <asp:Button ID="btnSave" runat="server" Text="Save" OnClick="btnSave_Click" ValidationGroup="g1" />
                    </td>
                </tr>
            </table>
        </asp:Panel>
    </div>
</asp:Content>
